lexer grammar ExprLexer;

options { caseInsensitive = true; }

VAR: 'VAR';
LET: 'LET';

PLUS: '+';
MINUS: '-';
MULTIPLY: '*';
DIVIDE: '/';
EQUAL: '=';
OPEN_PAR: '(';
CLOSE_PAR: ')';
ID: [A-Z] [A-Z0-9_]*;
NUM: [0-9];
SEMI: ';';
WS: [ \n\r\t] -> channel(HIDDEN);
